.create-project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  &-left {
    text-align: left;
    line-height: 20px;
    font-size: 14px;
    color: $gray-06;
  }
}
.create-project-modal-path {
  display: flex;
  margin-bottom: 12px;
  .has-error {
    position: relative;
    z-index: 1;
  }
  .#{$teamix-prefix}form-item {
    margin-bottom: 0;
    &-label > label[required]:before {
      position: relative;
      top: -2px;
    }
  }
  .origin {
    width: 242px;
    flex: none;
    .#{$teamix-prefix}input,
    input {
      border-radius: 4px 0 0 4px;
    }
  }
  .namespace_id {
    width: 160px;
    flex: none;
    margin-right: -1px;
    &.focus,
    &.has-error {
      position: relative;
      z-index: 1;
    }
    .#{$teamix-prefix}input,
    input {
      border-radius: 0;
    }
    .#{$teamix-prefix}form-item-help {
      position: relative;
      left: -242px;
      width: 644px;
      background: #fff;
    }
  }
  .path {
    width: 230px;
    flex: none;
    .#{$teamix-prefix}input,
    input {
      border-radius: 0 4px 4px 0;
    }
    .#{$teamix-prefix}form-item-help {
      position: relative;
      left: -400px;
      width: 644px;
      background: #fff;
    }
    &.no-group {
      width: 402px;
      .#{$teamix-prefix}form-item-help {
        position: relative;
        left: -241px;
        width: 644px;
        background: #fff;
      }
    }
  }
}
.create-project-path-input {
  .#{$teamix-prefix}input-group-addon {
    max-width: 500px;
    overflow: hidden;
  }
}

.parent-group-name {
  width: 324px !important;
  padding: 0 8px;
}

.create-project-dialog {
  &-img-container {
    width: 316px;
    background: #f1fbfd;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
  }

  &-form {
    width: calc(100% - 316px);
    padding: 20px;
    float: right;
    background: #fff;
  }

  &-content {
    float: left;
    width: 100%;
    position: relative;
  }

  // FIXME Fusion升新版本后，用api，去掉此hack https://github.com/alibaba-fusion/next/pull/3893
  .#{$teamix-prefix}dialog-body {
    padding: 0 !important;
  }

  &-label {
    text-align: left;
    line-height: 20px;
    font-size: 14px;
    color: $gray-08;
    width: 75px;
    height: 20px;
  }

  &-input-group-before {
    width: 30%;
  }

  &-input-group-after {
    width: 40%;
  }
  .project-path-tip {
    line-height: 24px;
    color: $gray-06;
    position: relative;
    font-size: 12px;
    top: -10px;
    display: flex;
    align-items: center;
    .at-title {
      flex: 1;
    }
  }
  &-form-item-gitignore-form-item {
    .#{$teamix-prefix}form-item-help {
      position: relative;
      left: -124px;
    }
  }
}

.create-project-dialog-service-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  &-item {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    width: 311px;
    height: 160px;
    padding: 20px;
    margin-bottom: 12px;
    transition: box-shadow 0.15s ease-in-out;
    overflow: hidden;
    cursor: pointer;
    &.selected {
      border: 2px solid $primary-brand;
      padding: 19px;
    }
    &:hover {
      box-shadow: 0 4px 8px 0 rgba(38, 38, 38, 0.08);
      .item-title-icon {
        // display: inline;
        visibility: visible;
      }
    }
    .icon-radio {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 16px;
      .all,
      .choose {
        background: #ccecff;
        border-radius: 4px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .all {
        background: #e7e9ff;
      }
    }
    .item-title {
      line-height: 20px;
      font-size: 14px;
      font-weight: 500;
      color: $gray-08;
      margin-bottom: 8px;
      &-icon {
        visibility: hidden;
        margin-left: 4px;
        cursor: pointer;
        font-size: 12px;
        line-height: 20px;
      }
    }
    .item-desc {
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
      font-weight: normal;
    }
  }

  &:last-child &-item {
    margin-bottom: 0;
  }
}

.create-project-dialog-service-detail {
  display: flow-root;
  border: 1px solid $gray-02;
  border-radius: 4px 4px 0 0;
  padding: 0 24px;
  &-item {
    float: left;
    width: 50%;
    border-bottom: 1px solid $gray-02;
    padding: 18px 0;
    &:nth-child(even) {
      .detail-content {
        padding-left: 24px;
      }
    }
    &:nth-child(odd) {
      .detail-content {
        padding-right: 24px;
        border-right: 1px solid $gray-02;
      }
    }
    &:nth-child(3),
    &:nth-child(4) {
      border-bottom: none;
    }
    .detail-content {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .#{$teamix-prefix}form-item .#{$teamix-prefix}switch {
      margin-top: 0;
      flex-shrink: 0;
    }
    .detail-title {
      line-height: 20px;
      font-size: 14px;
      color: $gray-08;
    }
    .detail-desc {
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
      margin-top: 8px;
    }
  }
}

.create-project-dialog-service-confirm {
  border: 1px solid $gray-02;
  background: #f5f5f5;
  border-radius: 4px;
  height: 52px;
  display: flex;
  padding-left: 20px;
  align-items: center;
  &.no-border-top-radius {
    border-radius: 0 0 4px 4px;
    border-top: none;
  }
  .disabled {
    color: $gray-05;
    cursor: default;
  }
  .service-confirm-checkbox {
    font-size: 14px;
    line-height: 16px;
    height: 19px;
  }
}

.mr18 {
  margin-right: 18px;
}
